<div class="heading-tt">
<h1 class="fll"><span><?php echo $category_title;?></span></h1></div>
<ul id="sales" class="product-list">
	<?php								
     if(isset($products) && sizeof($products) > 0) {
    	foreach($products as $rs) {
    ?>  
    <li class="overlay-block">
        <a class="img-product" href="<?php echo $rs['href'];?>">
        	<?php
            	if($rs['special']) {
            ?>
            					<p class="promo-tag">
                                	<span class="minus">-</span>
                                    <span class="discount-num"><?php echo ($rs['price_percent']);?></span>
                                    <span class="percent">%</span>
                                </p>
            <?php 
            	}
            ?>
            <p>
                <span class="prd-name"><?php echo $rs['name'];?></span>
                <span class="price flr"><?php if($rs['special']) {echo $rs['special'];} else { echo $rs['price'];} ?></span>
            </p>
            <img src="timthumb.php?src=<?php echo $rs['image'];?>&w=295&h=230" alt="<?php echo $rs['name'];?>" />
        </a>
    </li>
    <?php 
    	}
    }
    ?>      
</ul>